#!/usr/bin/env python
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from swindle import device


class EthernetDevice(device.Device):
  def __init__(self, mgr, bus, name):
    device.Device.__init__(self, mgr, bus, name)
    self.enable()

  def technology(self):
    return 'ethernet'

  def iface(self):
    return 'eth0'

